<!-- registration_form -->

<?php
	//start the session
	session_start();
?>
<html>
	<head>
		<title>Registration</title>
		<link rel="stylesheet" type="text/css" href="css/style.css" />
	</head>
	
	<body>
		<div id="posCenter">
			<br />
			<h3>Please input your Details</h3>
			<br />			
			<form action="registerusers" method="POST">
				Username:<br /><input type="text" name="username" id="username" /><br />
				Email:<br /><input type="text" name="email" id="email" /><br />
				Password:<br /><input type="password" name="pword" id="pword" /><br />
				Confirm Password:<br /><input type="password" name="confirm_pword" id="confirm_pword" /><br /><br />
				<input type="submit" name="submit" id="submit" value="Submit" />
			</form>			
		
			<?php
				if(isset($_SESSION['message']))
				{
					echo $_SESSION['message'] . '<br />';
				}
			?>
		</div>
	</body>
</html>